<!--
 * @Description: 印章
 * @Version: 1.0
 * @Autor: gaoluo
 * @Date: 2021-09-03 17:59:41
 * @LastEditors: gaoluo
 * @LastEditTime: 2021-09-04 11:11:14
 * @FilePath: /nhw/src/components/Stamp/index.vue
-->
<template>
  <div class="stamp-container">
    <svg viewBox="0 0 240 246" xmlns="http://www.w3.org/2000/svg">
      <g :fill="shadowColor">
        <path
          opacity=".31"
          d="M101.4 0h20.79c-18.99 1.79-38.51 4.41-55.5 13.69-6.77 2.9-12.49 7.65-19.1 10.83C54.97 16.96 64.98 13 74.3 8.44 82.89 4.28 92.53 3.36 101.4 0zM122.71 0h16.32c9.76 3.3 20.08 4.92 29.37 9.57 8.4 4.22 17.24 8.24 23.96 14.98-6.15-2.89-11.47-7.23-17.58-10.2-13.14-7.21-27.9-11.2-42.79-12.38-3.18-.06-6.32-.86-9.28-1.97z"
        />
        <path
          opacity=".31"
          d="M60.39 22.45C76.66 12.85 95.02 6.25 114 5.41c7.98-.05 16.06-.47 23.9 1.35 17.47 2.34 33.66 10.37 48.12 20.15 7.26 5.65 14.18 11.81 20.27 18.73 18.79 22.12 28.97 51.32 27.97 80.33-.33 4.62-.86 9.23-.68 13.87-.33-2.08-.75-4.14-.97-6.24.72-12.49.3-25.15-2.8-37.33-8.86-34.88-35.86-64.42-69.59-76.8-8.37-3.44-17.25-5.67-26.29-6.32C107.98 9.81 81 16.03 58.87 29.91c-8.72 6.13-17.39 12.6-24.24 20.84-10.51 11.52-18.09 25.54-22.98 40.29-7.68 25.31-5.61 53.53 6.06 77.31 1.65 3.31 3.34 6.62 4.49 10.15-2.8-2.28-4.05-5.74-5.58-8.88-15.18-31.02-14.54-69.2 1.39-99.8 8.92-19.62 24.67-35.44 42.38-47.37z"
        />
        <path
          opacity=".31"
          d="M100.98 32.06c8.83-2.36 18.03-1.69 27.06-1.63 14.03 1.06 27.64 5.75 39.86 12.64 6.25 3.9 12.88 7.56 17.54 13.42.57-.11 1.71-.33 2.27-.44 4.11 3.45 6.99 8.01 9.96 12.41 5.5 8.01 9.18 17.12 11.53 26.53 2.55 7.8 3.51 15.98 4 24.15-.39 2.02.08 4.2 2.32 4.86-.1-1.43-.36-2.83-.62-4.23 1.45-10.16-2.43-20.09-4.32-29.94.88.69 1.52 1.56 1.91 2.6 3.07 10.18 4.63 20.8 4.31 31.44-.66.72-1.37 1.41-2.07 2.1l-1.92-2.43c-1.51-7.48-1.31-15.24-3.75-22.54-4.61-17.87-15.25-33.96-29.3-45.82-6.47-5.93-14.32-10.01-22.05-14.03-12.7-5.85-26.8-8.34-40.74-7.74-8.91-.42-17.53 2.1-26.03 4.41-5.25 1.42-9.83 4.43-14.83 6.45-1.5.87-2.82-.35-4.05-1.03 8.59-6 18.86-8.77 28.92-11.18zM210.51 41.66c10.1 8.89 15.78 21.48 21.41 33.43 4 8.29 4.67 17.63 8.08 26.12v9.54c-2.1-4.65-2.37-9.79-3.37-14.72-2.43-13.7-8.39-26.44-15.25-38.43-3.22-5.59-7.65-10.35-10.87-15.94z"
        />
        <path
          opacity=".31"
          d="M101.93 47.77c2.01-1.61 4.22-2.99 6.69-3.79.05 2.81.06 5.63-.06 8.44-1.07-1.89-1.15-4.11-1.44-6.21-1.68.91-3.31 1.95-5.17 2.47-1.84-.02-3.6-.68-5.37-1.12.28 3.9-.81 7.66-2.62 11.08 1.76.42 3.53.84 5.3 1.25 1.14 1.83 2.28 3.65 3.41 5.49l1.96-.18c.74-2.04 1.03-4.36 2.43-6.08 1.62-1.27 3.63-1.89 5.51-2.71-.76-.74-1.51-1.48-2.26-2.22 2.1.12 3.5 1.62 4.75 3.12-1.62.57-3.24 1.14-4.87 1.69 1.22 1.26 2.3 2.65 3.42 4-2.2.72-4.46 1.22-6.71 1.77-.82 1.95-1.63 3.9-2.44 5.85l-2.01-.12c-1.07-1.56-2.01-3.26-3.45-4.52-2.2-.68-4.56-.42-6.83-.53.77-1.59 1.52-3.18 2.28-4.77-.8-.15-2.39-.46-3.19-.61 1.32-2.94 2.83-5.78 4.21-8.69-.58-2.06-1.04-4.14-1.39-6.24 2.67.71 5.27 1.64 7.85 2.63zM141.67 58.17c2.5 1.04 4.97 2.17 7.41 3.33 2.01-1.36 3.97-2.8 6.14-3.91 3.04 1.76-.42 6.59 2.35 8.67 1.71 1.4 3.68 2.69 4.32 4.93-1.86.61-3.72 1.21-5.59 1.78 1.56.94 2.85 2.23 4.23 3.41-2.01.6-4.05 1.09-6.09 1.57-1.14 2.07-1.78 4.59-3.68 6.11-1.48-1.58-2.65-3.4-3.81-5.21-2.38-.15-4.75-.27-7.12-.4.96-1.28 1.93-2.55 2.9-3.83-1.13-.39-2.25-.79-3.36-1.18.09-.9.19-1.8.29-2.69.92-1.22 1.91-2.4 2.59-3.77.22-2.94-.57-5.86-.58-8.81m8.21 4.37c-2.38.32-4.43-1.31-6.52-2.16.39 1.87.87 3.75.96 5.67-.84 1.96-2.04 3.73-3.15 5.54 2.05.75 4.1 1.52 6.15 2.27.97 1.65 1.95 3.29 2.92 4.94l1.76-.6c.73-3.89 3.19-6.97 7.03-8.13a76.816 76.816 0 01-4.45-5.72c.04-1.68.08-3.35.11-5.03-1.57 1.11-3.03 2.42-4.81 3.22zM184.95 95.48c2.39-1.33 4.7-2.86 7.41-3.49.09 2.6-.46 5.33.44 7.83 1.66 1.81 3.58 3.46 4.56 5.79-1.51.52-3.02 1.01-4.54 1.52 1.08.71 2.17 1.41 3.27 2.11l.6 1.97c-1.93.43-3.89.79-5.72 1.56-1.9 1.41-2.83 3.7-4.09 5.63-1.87-1.61-3.62-3.4-5.73-4.7-2-.29-4.03-.24-6.05-.26.79-1.58 1.57-3.17 2.36-4.75-.82-.16-2.47-.49-3.29-.65.55-.95 1.13-1.89 1.72-2.82 3.75 1.78 7.89 3.37 9.98 7.25l1.69.2c1.22-3.94 3.68-7.3 7.82-8.41-1.55-1.43-3.42-2.65-4.5-4.51-.41-1.78-.4-3.62-.56-5.42-1.74.87-3.42 1.96-5.35 2.4-2-.11-3.9-.8-5.8-1.35l-.36 3.02c-.57-1.65-2.79-4.07-.12-5.05 2.11.64 4.05 1.86 6.26 2.13zM23.65 120.32c2.39-.18 4.5 1.27 4.52 3.82.76 11.87 2.88 23.86 8.16 34.61 1.13 2.19 2.15 4.47 2.48 6.94-4.55-6.44-7.21-14-9.08-21.59-1.86-7.25-1.91-14.84-4.04-22.03-1.87 7.3-.2 14.77 1.43 21.94 4.13 17.22 14.73 32.06 26.59 44.87-.08 1.07.09 2.07.53 2.99 13.43 13.26 31.11 21.91 49.57 25.5 6.29 1.4 12.76 1.25 19.15 1.23 13.7.17 27.29-3.69 39.28-10.21 1.36-1.05 5.41-1.5 4.33 1.24-5.44 3.5-11.65 5.57-17.64 7.94-13.07 4.85-27.24 4.39-40.95 3.8-15.45-1.99-30.49-7.85-43.1-17.01-10.19-6.38-18.16-15.63-24.72-25.58-8.25-11.45-13.16-25.03-15.41-38.89-1.47-6.42-1.5-13.03-1.1-19.57z"
        />
        <path
          opacity=".31"
          d="M0 132.15c1.18 3.2 2.13 6.5 2.51 9.91 3.19 21.98 14.23 42.17 28.72 58.75 9.77 11.31 22.58 19.48 35.73 26.33 11.81 6.14 24.93 9.06 37.97 11.24 6.59 1.65 13.41 1.37 20.13 1.32 7.08.07 13.82-2.35 20.75-3.35 10.82-1.72 21.06-5.85 30.66-11.02 11.12-5.13 20.67-13.04 29.47-21.44 11.45-12.28 20.69-26.71 26.69-42.39 3.58-9.3 4.35-19.33 7.37-28.76v11.51c-2.87 4.92-3.36 10.66-4.94 16.02-4 12.63-9.87 24.68-17.55 35.48-11.34 14.89-25.48 27.99-42.28 36.47-6.54 3.38-13.26 6.52-20.37 8.49-6.64 2.04-13.68 2.53-20.1 5.29h-18.38c-10.24-1.25-20.65-1.98-30.57-5.04-26.52-7.88-49.62-25.62-65.43-48.17-4.61-6.96-8.21-14.53-11.74-22.07-4.36-9.68-5.54-20.31-8.64-30.38v-8.19z"
        />
        <path
          opacity=".31"
          d="M58.41 141c4.49-.22 7.95 2.83 11.66 4.83 2.19 1.3 4.7 2.35 6.1 4.61-5.56-1.78-9.99-5.84-15.38-7.94-1.8-.91-2.12 1.29-2.67 2.5 2.8 3.96 7.53 5.72 11.53 8.16 10.93 6.4 21.88 12.78 32.88 19.06 8.71 5.31 17.84 9.9 26.37 15.51.76-1.92 1.53-3.84 2.34-5.73l.54-1.24c.68 2.77-.2 5.58-.4 8.36.03 1.93-1.5 3.26-2.54 4.71-2.4-1.56-4.8-3.13-7.19-4.71-1.2 3.08-1.64 6.39-1.21 9.67-1.35.89-2.97 2.44-4.6 1.12-12.65-7.71-25.74-14.71-38.46-22.33-6.71-4.36-14.38-7.24-20.74-12.1-.04-2.12.17-4.24.21-6.36 5.57 4.3 11.9 7.42 17.96 10.96 11.5 6.55 22.98 13.13 34.46 19.72 2.53 1.36 4.85 3.44 7.76 3.86 1.92.13 2.21-2.3 3.23-3.45-20.5-11.63-40.7-23.79-61.32-35.2-.68 1.38-1.33 2.77-2.09 4.11l-.98 1.45c1.07-5.2 3.14-10.55.89-15.79.55-1.27 1.1-2.52 1.65-3.78z"
        />
      </g>
      <g :fill="color">
        <path
          opacity=".67"
          d="M122.19 0h.52c2.96 1.11 6.1 1.91 9.28 1.97 14.89 1.18 29.65 5.17 42.79 12.38 6.11 2.97 11.43 7.31 17.58 10.2 6.64 5.03 12.61 10.9 18.15 17.11 3.22 5.59 7.65 10.35 10.87 15.94 6.86 11.99 12.82 24.73 15.25 38.43 1 4.93 1.27 10.07 3.37 14.72v21.99c-3.02 9.43-3.79 19.46-7.37 28.76-6 15.68-15.24 30.11-26.69 42.39-8.8 8.4-18.35 16.31-29.47 21.44-9.6 5.17-19.84 9.3-30.66 11.02-6.93 1-13.67 3.42-20.75 3.35-6.72.05-13.54.33-20.13-1.32-13.04-2.18-26.16-5.1-37.97-11.24-13.15-6.85-25.96-15.02-35.73-26.33-14.49-16.58-25.53-36.77-28.72-58.75-.38-3.41-1.33-6.71-2.51-9.91v-26.36c2.37-6.13 2.96-12.73 4.83-19C12 62.18 27.38 40.21 47.59 24.52c6.61-3.18 12.33-7.93 19.1-10.83C83.68 4.41 103.2 1.79 122.19 0m-61.8 22.45C42.68 34.38 26.93 50.2 18.01 69.82c-15.93 30.6-16.57 68.78-1.39 99.8 1.53 3.14 2.78 6.6 5.58 8.88.14.4.43 1.19.57 1.59 10.2 14.99 22.92 28.61 38.68 37.82a67.73 67.73 0 005.57 3c2.94 1.47 5.86 2.99 8.87 4.34 2.38.77 4.7 1.71 6.93 2.84 2.4.67 4.79 1.36 7.18 2.06l2.09.6c4.53 1.48 9.35 1.37 13.93 2.51 13.01.71 26.32 1.23 39.06-2.04 1.93-.53 3.88-.96 5.83-1.39 1.68-.58 3.36-1.17 5.04-1.74 1.05-.29 2.11-.57 3.18-.83 2.32-1.06 4.65-2.12 6.95-3.23 1.15-.28 2.31-.53 3.48-.74-.07-.15-.21-.44-.28-.59 22.09-10.19 40.33-28.27 51.71-49.68.61-1.49 1.18-3 1.78-4.5.14.05.41.13.55.18.61-1.55 1.27-3.07 1.9-4.6 1.41-3.66 3.01-7.24 4.14-11 .09-.53.28-1.6.38-2.13.37-1.32.75-2.63 1.14-3.94 1-4.41 1.72-8.9 1.73-13.43.22 2.1.64 4.16.97 6.24-.18-4.64.35-9.25.68-13.87 1-29.01-9.18-58.21-27.97-80.33-6.09-6.92-13.01-13.08-20.27-18.73-14.46-9.78-30.65-17.81-48.12-20.15-7.84-1.82-15.92-1.4-23.9-1.35-18.98.84-37.34 7.44-53.61 17.04z"
        />
        <path
          opacity=".67"
          d="M106.98 24.71c8.99-.28 18.11-.95 27.03.38 6.16.95 12.2 2.54 18.07 4.63 1.26.5 2.53.99 3.79 1.49 2.48 1.08 4.92 2.26 7.34 3.47 15.59 7.41 28.42 19.9 37.83 34.24 1.5 2.23 2.74 4.63 3.88 7.07.76 1.62 1.55 3.24 2.34 4.85.62 1.31 1.24 2.61 1.86 3.92.36 1.07.71 2.15 1.08 3.23.1.46.29 1.38.38 1.84 1.89 9.85 5.77 19.78 4.32 29.94.26 1.4.52 2.8.62 4.23-2.24-.66-2.71-2.84-2.32-4.86-.49-8.17-1.45-16.35-4-24.15-2.35-9.41-6.03-18.52-11.53-26.53-2.97-4.4-5.85-8.96-9.96-12.41-3.66-2.86-6.8-6.3-10.37-9.25-6.88-5.19-14.49-9.27-22.2-13.05-5.61-1.92-11.19-4.02-17.08-4.88-10.19-2.12-20.66-1.57-30.98-1.15-4.66 1.21-9.51 1.73-13.99 3.58-.53.11-1.59.32-2.11.43-4.48 1.24-8.68 3.23-12.7 5.51-1.85 1.22-4.07 1.28-6.2 1.32.55-.95.63-2.41 1.9-2.76 4.47-2.37 9.04-4.62 13.89-6.09 2.02-.63 4.05-1.26 6.08-1.89 1.34-.33 2.67-.67 4-1.05 3.01-.67 6.03-1.32 9.03-2.06z"
        />
        <path
          opacity=".67"
          d="M101.95 48.68c1.86-.52 3.49-1.56 5.17-2.47.29 2.1.37 4.32 1.44 6.21.57.61 1.15 1.2 1.75 1.77.75.74 1.5 1.48 2.26 2.22-1.88.82-3.89 1.44-5.51 2.71-1.4 1.72-1.69 4.04-2.43 6.08l-1.96.18c-1.13-1.84-2.27-3.66-3.41-5.49-1.77-.41-3.54-.83-5.3-1.25 1.81-3.42 2.9-7.18 2.62-11.08 1.77.44 3.53 1.1 5.37 1.12zM149.88 62.54c1.78-.8 3.24-2.11 4.81-3.22-.03 1.68-.07 3.35-.11 5.03 1.39 1.98 2.88 3.88 4.45 5.72-3.84 1.16-6.3 4.24-7.03 8.13l-1.76.6c-.97-1.65-1.95-3.29-2.92-4.94-2.05-.75-4.1-1.52-6.15-2.27 1.11-1.81 2.31-3.58 3.15-5.54-.09-1.92-.57-3.8-.96-5.67 2.09.85 4.14 2.48 6.52 2.16zM179.17 95.38c1.9.55 3.8 1.24 5.8 1.35 1.93-.44 3.61-1.53 5.35-2.4.16 1.8.15 3.64.56 5.42 1.08 1.86 2.95 3.08 4.5 4.51-4.14 1.11-6.6 4.47-7.82 8.41l-1.69-.2c-2.09-3.88-6.23-5.47-9.98-7.25 2.38-1.54 2.8-4.22 2.92-6.82l.36-3.02zM25.69 122.07c2.13 7.19 2.18 14.78 4.04 22.03 1.87 7.59 4.53 15.15 9.08 21.59 5.65 8.92 12 17.58 20.13 24.42 5.7 5.17 12.4 9.13 19.23 12.63 1.61.8 3.21 1.62 4.8 2.46 4.64 1.67 9.3 3.33 14.05 4.69 1.97.41 3.97.78 5.93 1.29 7.52 1.97 15.37 1.38 23.07 1.38 4.4.06 8.75-.72 13.03-1.68 3.8-.42 7.48-1.55 10.95-3.12l2.16-.44c2.55-1.26 5.15-2.41 7.77-3.55 1.64-.77 3.15-2.02 5-2.23 1.07.43 2.05 1.04 3.09 1.56-1.3.62-2.61 1.21-3.9 1.83-2.73 1.33-5.47 2.64-8.2 3.98-1.3.42-2.59.86-3.88 1.31-.98.31-1.95.67-2.9 1.06-1.74.55-3.47 1.1-5.21 1.65-1.97.41-3.95.77-5.91 1.25-10.5 2.03-21.38 1.82-31.98.8-3.02-.63-6.05-1.26-9.09-1.78-2.02-.67-4.04-1.34-6.07-1.96-.96-.37-1.93-.71-2.91-1.02-1.29-.46-2.58-.9-3.88-1.33-11.11-4.94-21.96-11.11-30.38-20.01-11.86-12.81-22.46-27.65-26.59-44.87-1.63-7.17-3.3-14.64-1.43-21.94z"
        />
        <path
          opacity=".67"
          d="M58.12 145c.55-1.21.87-3.41 2.67-2.5 5.39 2.1 9.82 6.16 15.38 7.94.22.08.64.26.85.34 18.05 10.46 36.17 20.78 54.22 31.22-.81 1.89-1.58 3.81-2.34 5.73-8.53-5.61-17.66-10.2-26.37-15.51-11-6.28-21.95-12.66-32.88-19.06-4-2.44-8.73-4.2-11.53-8.16zM56.85 159.12c.76-1.34 1.41-2.73 2.09-4.11 20.62 11.41 40.82 23.57 61.32 35.2-1.02 1.15-1.31 3.58-3.23 3.45-2.91-.42-5.23-2.5-7.76-3.86-11.48-6.59-22.96-13.17-34.46-19.72-6.06-3.54-12.39-6.66-17.96-10.96z"
        />
      </g>
    </svg>
    <span
      class="text"
      :style="{ color: color, textShadow: '1px 1px 2px ' + shadowColor }"
      >{{ text }}</span
    >
  </div>
</template>

<script>
export default {
  name: "Stamp",

  components: {},
  props: {
    text: {
      type: String,
      default: "审核通过",
    },
    shadowColor: {
      type: String,
      default: "#A1A1A1",
    },
    color: {
      type: String,
      default: "#C6A86F",
    },
  },
  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="less" scoped>
@import url("~style/var.less");
.stamp-container {
  width: 120px;
  height: 123px;
  box-sizing: border-box;
  position: relative;
  svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .text {
    font-size: 24px;
    line-height: 123px;
    text-align: center;
    font-weight: bolder;
    transform: rotateZ(28deg);
    display: inline-block;
    width: 100%;
  }
}
</style>